package com.fivelevellinkage.entity;

import java.util.*;

public class RegionTree {

    private List<CodeTree> root = new LinkedList<>();

    public static class  CodeTree{

        public String code;

        public String name;

        public String levelStr;

        public Integer level;

        public Integer department;

        public CodeTree[] childNode;

        public CodeTree(Region re){
            this.code = re.getCode();
            this.name = re.getName();
            this.levelStr = re.getLevelStr();
            this.level = re.getLevel();
            this.department = re.getDepartment();
            this.childNode = new CodeTree[Character.MAX_VALUE];
        }

    }

    public RegionTree(List<Region> res){
        for(Region re:res){
            root.add(new CodeTree(re));
        }
    }

    public static void main(String[] args) {
        int a = 1;
        int b = 1;
        int result = a<<1;
        System.err.println(result);



    }


}
